package com.hclc.yxb.mapper;


import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.hclc.entity.dvo.AdministratorDvo;
import com.hclc.entity.model.SysUserModel;
import org.springframework.stereotype.Component;

/**
 * <p>管理员表 Mapper 接口 </p>
 *
 * @author hef
 * @since 2020-08-15
 */
@Component
public interface SysUserMapper extends BaseMapper<SysUserModel> {

    /**
     * 查询管理员列表
     * @param userId
     * @param page
     * @return com.baomidou.mybatisplus.core.metadata.IPage<com.hclc.yxb.dvo.AdministratorDvo>
     * @author yurj
     * @mail 1638234804@qq.com
     * @version 1.0
     * @date 2020/8/22 21:35
     */
    IPage<AdministratorDvo> selectUserList(Page<AdministratorDvo> page, String userId);

}
